package com.amex.uam.service;

import java.util.Calendar;
import java.util.Set;

import com.amex.uam.model.MSLogin;
import com.amex.uam.model.Message;
import com.microstrategy.web.objects.WebIServerSession;

public interface MstrService {
	
	Message loadSecurityGroupByGroupName(String userName, String groupName, WebIServerSession session);

	Message updateUserGroup(String userName, String originalVal, String modifiedVal, WebIServerSession managerSession);

	/**
	 * @param userName
	 * @param flag yes or no
	 * @param originalVal
	 * @param addList
	 * @param session
	 * @return
	 */
	Message updateSharedReports(String userName, String flag, String originalVal, Set<String> addList, WebIServerSession session);

	Message createSharedReportGroup(String groupName, WebIServerSession session);

	Message activateUser(String userId, String activate, WebIServerSession session);

	Message removeUser(String userIds, WebIServerSession session);
	
	/*void grantDenyACL(String userId, String optBlueOri, String optBlueVal,
			WebIServerSession session);*/
	
	Message setAccessEndDate(String userId, String accEndDate, WebIServerSession session);
	
	WebIServerSession getWebIServerSession(MSLogin user);
	
	
}
